package com.liciecruzadinha.app;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

/**
 * Created by chico on 23/05/14.
 */
public class AcaoBotoes implements View.OnClickListener{
    private Activity a;
    public AcaoBotoes(Activity a){
        this.a = a;
    }

    @Override
    public void onClick(View view) {
        Intent intent = new Intent(a, DicaActivity.class);
        Bundle params = new Bundle();
        params.putInt("id",view.getId());
        intent.putExtras(params);
        a.startActivity(intent);
    }
}
